<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>

var arr = [4000, 4000, 3000]
var flag = arr.every(function (a, b, c) {
    console.log(a) //1000===0====1000,2000,3000

    return a > 2000;//数组中的每个元素的值都要大于2000的情况,最后才返回true
})
    </script>
</body>
</html>